package com.example.conf.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 * 商城满减活动表
 * </p>
 *
 * @author wpdcn
 * @since 2020-04-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("shop_full_reduction_campaign")
@ApiModel(value="ShopFullReductionCampaignEntity对象", description="商城满减活动表")
public class ShopFullReductionCampaignEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @Column(comment = "主键id")
    @ApiModelProperty(value = "主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Column(comment = "所属账户id")
    @ApiModelProperty("所属账户id")
    private Long accountId;

    @Column(comment = "活动名称")
    @ApiModelProperty(value = "活动名称")
    private String name;

    @Column(comment = "满减活动类型：1满N件减；2满N元减")
    @ApiModelProperty(value = "满减活动类型：1满N件减；2满N元减")
    private String type;

    @Column(comment = "状态：1未开始；2进行中；3已结束")
    @ApiModelProperty(value = "状态：1未开始；2进行中；3已结束")
    private String status;

    @Column(comment = "创建时间")
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @Column(comment = "创建人")
    @ApiModelProperty(value = "创建人")
    private Long createBy;





}
